package com.eastfair.venueservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eastfair.boot.request.PageParams;
import com.eastfair.boot.service.SuperService;
import com.eastfair.venueservice.dto.LoadOrderDTO;
import com.eastfair.venueservice.dto.LogisticsOrderPageQuery;
import com.eastfair.venueservice.entity.LogisticsOrder;
import com.eastfair.venueservice.vo.LogisticsOrderVo;

/**
 * 智慧物流 物流订单
 *
 * @author Du Xiaobo
 * @date 2023/5/9 11:02
 */
public interface LogisticsOrderService extends SuperService<LogisticsOrder> {
    Long saveLoadOrder(LoadOrderDTO dto);

    void updateLoadOrder(LoadOrderDTO dto);

    LogisticsOrderVo getLogisticsOrderById(Long id);

    Page<LogisticsOrderVo> queryLogisticsOrderPage(PageParams<LogisticsOrderPageQuery> pageParams);
}
